<?php
session_start();
include('header.php');
$token = hash("sha512", mt_rand(0, mt_getrandmax()));
$_SESSION['token'] = $token;
$_SESSION['time'] = time();
?>
<script src="provider.js"></script>
<script>
    var token1 = "<?php echo($token); ?>";
</script>
<h2 style="text-align:center">Service Provider Account</h1>
<div id="logon_provider" style="text-align:center">
    <form name="logon_provider_form">
        <p style="padding:10px">Provider logon
        <pre>
      Login <input id="logon_provider_login" type="text" name="login" /><br/>
   Password <input id="logon_provider_passwd" type="password" name="passwd" onKeyPress="return logon_provider_enter(event);"/><br/>
            <button type="button" onclick="logon_provider();">Logon</button>
        </pre>
        </p>
    </form>
</div>
<div id="logon_provider_status" style="text-align:center"></div>
<div id="provider_create_account" style="text-align:center">
    <p>
        If you are new here, please&nbsp;<a href="create_provider_account.php">create</a>&nbsp;an account.
    </p>
</div>
</body>
</html>